<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="css/reset.css"/>
		<link rel="stylesheet" type="text/css" href="css/swiper.css"/>
		<link rel="stylesheet" type="text/css" href="css/index.css"/>
		<link rel="stylesheet" type="text/css" href="css/iconfont.css"/>
		<script type="text/javascript" src="js/swiper.js" ></script>
		<title></title>
	</head>
	<body>
		<div class="web">
			<!--头-->
			<header>
				<div class="logo fl">
					<img src="img/index/index-1.png"/>
				</div>
				
				<div class="selectBar fr">
					<select name="">
						<option value="广州市">广州市</option>
						<option value="深圳市">深圳市</option>
						<option value="上海市">上海市</option>
					</select>
					<!--<i class="iconfont icon-icon-up"></i>-->
				</div>
				<div class="searchBar">
					<input type="search" name="" id="" value="" placeholder="请在输入框内输入"/>
					<i class="iconfont icon-fangdajing"></i>
				</div>
			</header>
			<!--主体-->
			<section>
				<!--轮播-->
			<div class="swiper-container">
        	<div class="swiper-wrapper">
            <div class="swiper-slide"><img src="img/index/index-banan.png"/></div>
            <div class="swiper-slide"><img src="img/index/index-banan.png"/></div>
            
        </div>
    </div>
				<script>
			    	var swiper = new Swiper('.swiper-container');
			    </script>
				<!--团购-->
				<div class="tuangou">
					<div class="tuangou-head">
						<div class="tuangou-img fl">
							<img src="img/index/tuangou-1.png"/>
						</div>
						<div class="tuangou-span fr">
							更多
							<i class="iconfont icon-you"></i>
						</div>
						<div class="tuangou-font">优惠团购</div>
					</div>
					<div class="tuangou-li clear">
						<ul>
							<li>
								<img src="img/index/tuangou-2.jpg"/>
							</li>
							<li>
								<img src="img/index/tuangou-3.jpg"/>
							</li>
							<li>
								<img src="img/index/tuangou-4.jpg"/>
							</li>
							<li>
								<img src="img/index/tuangou-5.jpg"/>
							</li>
						</ul>
					</div>
				</div>
				<!--猜你-->
				<div class="like">
					<div class="like-head">
						<div class="like-img fl">
							<img src="img/index/tuangou-6.png"/>
						</div>
						<div class="like-span fr">
							更多
							<i class="iconfont icon-you"></i>
						</div>
						<div class="like-font">猜你喜欢</div>
					</div>
					<div class="like-shop">
						<ul>
							<li>
								<div class="like-shop-img1 fl">
									<img src="img/index/tuangou-7.jpg"/>
								</div>
								<div class="like-much fr">
									<p><100m</p>
									<h4>已售1000</h4>
								</div>
								<div class="like-shop-font">
									<h1>万岁寿司（正佳店）</h1>
									<h3>[100店通用] 双人套餐</h3>
									<p>￥88.00</p>
								</div>
							</li>
							<li>
								<div class="like-shop-img1 fl">
									<img src="img/index/tuangou-8.jpg"/>
								</div>
								<div class="like-much fr">
									<p><100m</p>
									<h4>已售1000</h4>
								</div>
								<div class="like-shop-font">
									<h1>周黑鸭（正佳店）</h1>
									<h3>[100店通用] 双人套餐</h3>
									<p>￥88.00</p>
								</div>
							</li>
						</ul>
					</div>
				</div>
			</section>
			<!--尾-->
			<footer>
				<ul>
					<li class="active"><a href="index.html">
							<i class="iconfont icon-noun28593cc"></i>
							<p>首页</p>
						</a></li>
					<li><a href="back.html">
							<i class="iconfont icon-fl"></i>
							<p>分类</p>
						</a></li>
					<li><a href="fash.html">
							<i class="iconfont icon-zhinanzhen"></i>
							<p>发现</p>
						</a></li>
					<li><a href="my.html">
							<i class="iconfont icon-ren"></i>
							<p>我的 </p>
						</a></li>
				</ul>
			</footer>
			
		</div>
		<script type="text/javascript">
			document.body.style.height=window.innerHeight+"px";
		</script>
		<script type="text/javascript">
			document.body.style.height=window.innerHeight+"px";
		</script>
		<script type="text/javascript">
		//动态改变根元素字体大小
			function recalc() {
				var clientWidth = document.documentElement.clientWidth;
				if(!clientWidth) return;
				document.documentElement.style.fontSize = 40 * (clientWidth / 750) + 'px';
												//字体大小 = 1个rem单位表示多少个像素，设备的宽度 / 设计宽度
			}

			function initRecalc() {
				recalc();
				var resizeEvt = 'osrientationchange' in window ? 'orientationchange' : 'resize';
				if(!document.addEventListener) return;
				window.addEventListener(resizeEvt, recalc, false);
				document.addEventListener('DOMContentLoaded', recalc, false);
			}
			initRecalc();
		</script>
	</body>
</html>
